package com.demo.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * FileName: SwaggerTestController
 *
 * @author: xunyong
 * Date:     2019/5/16 17:58
 * Description: SwaggerTest接口
 */
@RestController
@Api(description = "swagger测试文档")
public class SwaggerTestController {


    @ApiOperation(value = "测试接口", notes = "使用中")
    @RequestMapping(value = {"/swagger/test"}, method = RequestMethod.POST)
    public void swaggerTest() {
        System.out.println("测试接口");
    }
}